package com.cet.base;

/**
 * @program: cet-practice
 * @description:
 * @author: 陈恩涛
 * @create: 2022-12-08 10:57
 **/
public class TestSet {

    public static void main(String[] args) {
        final A a = new A();
        a.setName(null);
        System.out.println(a);
    }
}

class A{

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
